package br.ufal.ic.fracao.especialist.domain;

public class Item {
        
    private String description;
    private String value;
    private Double certaintyFactor;
    
    public Item() {
        certaintyFactor = new Double("0.0");
    }
    
    public Item(final String _description, final String _value){
        description = _description;
        value = _value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Double getCertaintyFactor() {
        return certaintyFactor;
    }

    public void setCertaintyFactor(Double certaintyFactor) {
        this.certaintyFactor = certaintyFactor;
    }

    public String toString() {
        return "Descricao: " + description + "\n Valor: " + value + "\n FC: " + certaintyFactor.toString();
    }
    
}
